package buscar

class Parceiro {

	String empresa
	String cnpj
	String endereco
	Integer n
	String estado
	String cidade
	String proprietario
	String cpf
	String descricao
	String cep
	
    static constraints = {
		empresa (blank: false, size:1..50, unique:true)
		cnpj (blank: false, size:14..14, unique:true)
		endereco (blank: false, size:1..100)
		n (blank:false)
		estado (blank: false, size:2..2)
		cidade (blank: false, size:1..100)
		proprietario (blank:false, size:1..200)
		cpf (blank: false, size:11..11)
		descricao (blank: false, size:1..500)
		cep (blank: false, size:8..8)		
    }
}
